<template>
    <div class="test">
     <button @click  = 'dome1'>点击发送数据</button>
    </div>
</template>
 
<script>
  import {reqCategoryList,reqRollPlayList} from "@/api"
export default {
        name:'Test',
        methods:{
       async  dome1(){
           let result = await reqCategoryList ()
           console.log(result)
            }
        }
    }
</script>

<style scoped>
.test{
    height:50px;
    background: rgb(129, 175, 21);
}
</style>